package cn.stylefeng.guns.modular.system.dao;

import cn.stylefeng.guns.modular.system.model.GameTagLog;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liyong
 * @since 2019-11-28
 */
public interface GameTagLogMapper extends BaseMapper<GameTagLog> {

    /**
     * 用户标签点赞数
     * @param userId
     * @param tagId
     * @return
     */
    int getUserTagCount(@Param("userId")Integer userId,
                        @Param("tagId")Integer tagId,
                        @Param("gameType")Integer gameType);
}
